package com.emip.service;

import java.util.List;

import com.emip.bean.QuarterStoreBean;

public interface QuarterStoreService {
	public List<QuarterStoreBean> getByTimespan(int startYear, 
			int startQuater, int endYear, int endQuater, String[] itemIds, String siteId);
	public List<QuarterStoreBean> getByTimespan(int startYear, int startQuater, 
			int endYear, int endQuater, String[] itemIds, String siteId, int page, int size);
	public long getCount(int startYear, int startQuater, int endYear, 
			int endQuater, String[] itemIds, String siteId);
	public QuarterStoreBean merge(QuarterStoreBean store);
	public QuarterStoreBean findByQuarter(String year, String quarter, String siteId, String itemId);
	public Object[] getStatistics(int startYear, int startQuarter, 
			int endYear, int endQuarter, String itemIds, String siteId);
}
